﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001263 RID: 4707
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SubmitMaterialSubmitActivityMaterialScRsp : IMessage<SubmitMaterialSubmitActivityMaterialScRsp>, IMessage, IEquatable<SubmitMaterialSubmitActivityMaterialScRsp>, IDeepCloneable<SubmitMaterialSubmitActivityMaterialScRsp>, IBufferMessage
	{
		// Token: 0x17003BB3 RID: 15283
		// (get) Token: 0x0600D326 RID: 54054 RVA: 0x00238E07 File Offset: 0x00237007
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SubmitMaterialSubmitActivityMaterialScRsp> Parser
		{
			get
			{
				return SubmitMaterialSubmitActivityMaterialScRsp._parser;
			}
		}

		// Token: 0x17003BB4 RID: 15284
		// (get) Token: 0x0600D327 RID: 54055 RVA: 0x00238E0E File Offset: 0x0023700E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SubmitMaterialSubmitActivityMaterialScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003BB5 RID: 15285
		// (get) Token: 0x0600D328 RID: 54056 RVA: 0x00238E20 File Offset: 0x00237020
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SubmitMaterialSubmitActivityMaterialScRsp.Descriptor;
			}
		}

		// Token: 0x0600D329 RID: 54057 RVA: 0x00238E27 File Offset: 0x00237027
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitMaterialSubmitActivityMaterialScRsp()
		{
		}

		// Token: 0x0600D32A RID: 54058 RVA: 0x00238E30 File Offset: 0x00237030
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitMaterialSubmitActivityMaterialScRsp(SubmitMaterialSubmitActivityMaterialScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.aBEAIFNDDCA_ = ((other.aBEAIFNDDCA_ != null) ? other.aBEAIFNDDCA_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D32B RID: 54059 RVA: 0x00238E7C File Offset: 0x0023707C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitMaterialSubmitActivityMaterialScRsp Clone()
		{
			return new SubmitMaterialSubmitActivityMaterialScRsp(this);
		}

		// Token: 0x17003BB6 RID: 15286
		// (get) Token: 0x0600D32C RID: 54060 RVA: 0x00238E84 File Offset: 0x00237084
		// (set) Token: 0x0600D32D RID: 54061 RVA: 0x00238E8C File Offset: 0x0023708C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003BB7 RID: 15287
		// (get) Token: 0x0600D32E RID: 54062 RVA: 0x00238E95 File Offset: 0x00237095
		// (set) Token: 0x0600D32F RID: 54063 RVA: 0x00238E9D File Offset: 0x0023709D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MaterialSubmitInfo ABEAIFNDDCA
		{
			get
			{
				return this.aBEAIFNDDCA_;
			}
			set
			{
				this.aBEAIFNDDCA_ = value;
			}
		}

		// Token: 0x0600D330 RID: 54064 RVA: 0x00238EA6 File Offset: 0x002370A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SubmitMaterialSubmitActivityMaterialScRsp);
		}

		// Token: 0x0600D331 RID: 54065 RVA: 0x00238EB4 File Offset: 0x002370B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SubmitMaterialSubmitActivityMaterialScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.ABEAIFNDDCA, other.ABEAIFNDDCA) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D332 RID: 54066 RVA: 0x00238F04 File Offset: 0x00237104
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.aBEAIFNDDCA_ != null)
			{
				num ^= this.ABEAIFNDDCA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D333 RID: 54067 RVA: 0x00238F59 File Offset: 0x00237159
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D334 RID: 54068 RVA: 0x00238F61 File Offset: 0x00237161
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D335 RID: 54069 RVA: 0x00238F6C File Offset: 0x0023716C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this.aBEAIFNDDCA_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.ABEAIFNDDCA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D336 RID: 54070 RVA: 0x00238FC8 File Offset: 0x002371C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.aBEAIFNDDCA_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ABEAIFNDDCA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D337 RID: 54071 RVA: 0x00239020 File Offset: 0x00237220
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SubmitMaterialSubmitActivityMaterialScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.aBEAIFNDDCA_ != null)
			{
				if (this.aBEAIFNDDCA_ == null)
				{
					this.ABEAIFNDDCA = new MaterialSubmitInfo();
				}
				this.ABEAIFNDDCA.MergeFrom(other.ABEAIFNDDCA);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D338 RID: 54072 RVA: 0x00239088 File Offset: 0x00237288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D339 RID: 54073 RVA: 0x00239094 File Offset: 0x00237294
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 58U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.aBEAIFNDDCA_ == null)
						{
							this.ABEAIFNDDCA = new MaterialSubmitInfo();
						}
						input.ReadMessage(this.ABEAIFNDDCA);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400549C RID: 21660
		private static readonly MessageParser<SubmitMaterialSubmitActivityMaterialScRsp> _parser = new MessageParser<SubmitMaterialSubmitActivityMaterialScRsp>(() => new SubmitMaterialSubmitActivityMaterialScRsp());

		// Token: 0x0400549D RID: 21661
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400549E RID: 21662
		public const int RetcodeFieldNumber = 3;

		// Token: 0x0400549F RID: 21663
		private uint retcode_;

		// Token: 0x040054A0 RID: 21664
		public const int ABEAIFNDDCAFieldNumber = 7;

		// Token: 0x040054A1 RID: 21665
		private MaterialSubmitInfo aBEAIFNDDCA_;
	}
}
